package util;

import java.util.ArrayList;
import java.util.List;

public class HeaderOfJavaFile {
	public final static String packageNamePlaceHolder = "[package-placeholder]";
	public final static String importsListPlaceHolder = "[importlist-placeholder]";
	private List<String> importsList;
	private String packageName;

	public HeaderOfJavaFile() {
		importsList = new ArrayList<String>();
	}

	public List<String> getImportsList() {
		return importsList;
	}

	public void setImportsList(List<String> importsList) {
		this.importsList = importsList;
	}

	public void addImportsList(String simport) {
		if (!importsList.contains(simport))
			importsList.add(simport);
	}

	public String getPackageName() {
		return packageName;
	}

	public void setPackageName(String packageName) {
		this.packageName = packageName;
	}
}
